home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-06-19 | 2.4 KB | 78 lines |
- #
- # Makefile for KA9Q TCP/IP package for Atari ST
- # Mark Williams C
- #
- TAR = gnutar
- CC=cc
- #
- # Add -DXOBBS to the CFLAGS line of choice if you wish to include the W2XO
- # PBBS code for sysV Unix... and add -DSID2 if you want a separate
- # 'ax25 bbscall' callsign/ssid for the BBS port.
- #
-
- CFLAGS = -O -DATARI_ST=1 -DMWC=306 -DSCREEN=1 -DSLOWCHECK=1
-
-
-
-
- ########################################################################
-
- SRCS = main.c arp.c arpcmd.c arpdump.c ax25.c ax25cmd.c \
- ax25dump.c ax25subr.c ax25user.c ax_mbx.c bootp.c cmdparse.c \
- domain.c dirutil.c\
- files.c fingcli.c fingserv.c ftp.c ftpcli.c ftpserv.c icmp.c \
- icmpcmd.c icmpdump.c icmpmsg.c iface.c ip.c ipcmd.c ipdump.c \
- iproute.c kiss.c lapb.c lapbtime.c lcsum.c mbuf.c misc.c mulport.c \
- myopen.c \
- netuser.c nrcmd.c nrs.c nr3.c nrsubr.c nr4.c nr4subr.c \
- nr4user.c nr4timer.c pathname.c rdate.c session.c slfp.c slhc.c slip.c smisc.c \
- smtpcli.c smtpserv.c st.c tcpcmd.c tcpdump.c \
- tcpin.c tcpout.c tcpsubr.c tcptimer.c tcpuser.c telnet.c \
- timer.c tnserv.c trace.c ttydriv.c udp.c udpcmd.c \
- udpdump.c version.c wildmat.c vfile.c xfree.c
-
- OBJS = main.o arp.o arpcmd.o arpdump.o ax25.o ax25cmd.o \
- ax25dump.o ax25subr.o ax25user.o ax_mbx.o cmdparse.o bootp.o \
- domain.o dirutil.o \
- files.o fingcli.o fingserv.o ftp.o ftpcli.o ftpserv.o icmp.o \
- icmpcmd.o icmpdump.o icmpmsg.o iface.o ip.o ipcmd.o ipdump.o \
- iproute.o kiss.o lapb.o lapbtime.o lcsum.o mbuf.o misc.o mulport.o \
- myopen.o \
- netuser.o nrcmd.o nrs.o nr3.o nrsubr.o nr4.o nr4subr.o \
- nr4user.o nr4timer.o pathname.o rdate.o session.o slfp.o slhc.o slip.o smisc.o \
- smtpcli.o smtpserv.o st.o tcpcmd.o tcpdump.o \
- tcpin.o tcpout.o tcpsubr.o tcptimer.o tcpuser.o telnet.o \
- timer.o tnserv.o trace.o ttydriv.o udp.o udpcmd.o \
- udpdump.o version.o wildmat.o vfile.o xfree.o
-
- net: $(OBJS)
- $(CC) $(CFLAGS) -o net.debug $(OBJS) $(LIBS)
- cp net.debug net
- strip net
-
- lint: $(SRCS)
- rm -f *.ln
- $(LINT) -c $(LINTFLAGS) $(SRCS) > lint.out 2>&1
- $(LINT) $(LINTFLAGS) *.ln > lint2.out 2>&1
- rm *.ln
-
- depend: net.debug
- chmod 755 mkdep
- mkdep $(LINTFLAGS) $(SRCS) > depend.out
-
- test_tick: test_tick.c
- $(CC) -o test_tick test_tick.c $(LIBS)
-
- clean:
- rm -f *.o *.ln lint.out lint2.out net net.debug test_tick
- tar:
- $(TAR) cvf svnet.tar make* mkdep depend.out hosts.net ftpusers \
- startup.net *.[hc] *.orig *.ori
- compress -f svnet.tar
-
-
-
- # need to make depend.out for the st
- #include depend.out
-
-